package com.omega.encryptedsql.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author omega
 * @description: TODO
 * @date 2025/7/11
 */
@Data
public class EmployeeDto implements Serializable {

    private Long id;

    private String name;

    private Integer age;

    private String email;

    private String phone;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
